```js
// MyComponent.stories.js

import React from 'react';

import imageFile from './static/image.png';

export default {
  title: 'img',
};

const image = {
  src: imageFile,
  alt: 'my image',
};

export const withAnImage = () => <img src={image.src} alt={image.alt} />;
```